<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">


<style>
.add_div {
	width: 400px;
	height: 500px;
	border: solid #ccc 1px;
	margin-top: 40px;
	margin-left: 170px;
	padding-left: 20px;
}

.file-list {
	height: 125px;
	display: none;
	list-style-type: none;
}

.file-list img {
	max-width: 150px;
	vertical-align: middle;
}

.file-list .file-item {
	margin-bottom: 10px;
	float: left;
	margin-left: 20px;
}

.file-list .file-item .file-del {
	display: block;
	margin-left: 58px;
	margin-top: 5px;
	cursor: pointer;
}

.ibox-content {
	padding-left: 100px;
}
.form-row{
	margin-bottom:10px;
}
.form-group{
	margin-right:5px;
}
.ibox-content{
background-color:transparent;
}
</style>

	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						
						<form class="form-horizontal m-t" id="signupForm">
						
							<input id="createBy" name="createBy" th:value="${user.userId}"  type="hidden">
							
							
							<div class="form-group">
									<label class="col-sm-2 control-label">*类型：</label> 
							<div class="col-sm-8">
									<select style="width: 150px;" data-placeholder=""  name="secondhandGoodsType" id="secondhandGoodsType"
										class="form-control chosen-select" tabindex="2" required>
										<option th:each="secondhandGoodsTypeList : ${secondhandGoodsTypeList}"
											th:text="${secondhandGoodsTypeList.name}"
											th:value="${secondhandGoodsTypeList.value}"></option>
									</select>
									</div>
							</div>
							
														<div class="form-group">	
								<label class="col-sm-2 control-label">*名称：</label>
								<div class="col-sm-8">
									<input id="secondhandGoodsName" style="width: 400px;" name="secondhandGoodsName" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">*简介：</label>
								<div class="col-sm-8">
									<input id="secondhandGoodsInfo" name="secondhandGoodsInfo" style="width: 600px;" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">*详情：</label>
								<div class="col-sm-8">
														<textarea class="form-control" id="secondhandGoodsInfoDeil"
										name="secondhandGoodsInfoDeil" rows="7"
										style="width: 600px; height: 70px"></textarea>
									<!-- <input id="secondhandGoodsInfoDeil" name="secondhandGoodsInfoDeil" class="form-control" type="text"> -->
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">*数量：</label>
								<div class="col-sm-8">
									<input id="secondhandGoodsCount" name="secondhandGoodsCount"  style="width: 400px;" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">*金额：</label>
								<div class="col-sm-8">
									<input id="secondhandGoodsAtm" name="secondhandGoodsAtm" style="width: 400px;" class="form-control" type="text">
								</div>
							</div>
							
							
							<div class="form-group">
									<label class="col-sm-2 control-label">*等级排名：</label> 
							<div class="col-sm-8">
									<select style="width: 150px;" data-placeholder="" name="secondhandGoodsRanking" id="secondhandGoodsRanking"
										class="form-control chosen-select" tabindex="2" required>
										<option th:each="secondhandGoodsRankingList : ${secondhandGoodsRankingList}"
											th:text="${secondhandGoodsRankingList.name}"
											th:value="${secondhandGoodsRankingList.value}"></option>
									</select>
									</div>
							</div>
							
							
							<div class="form-group">
									<label class="col-sm-2 control-label">*火热标记：</label> 
							<div class="col-sm-8">
									<select style="width: 150px;" data-placeholder="" name="secondhandGoodsDegree" id="secondhandGoodsDegree"
										class="form-control chosen-select" tabindex="2" required>
										<option th:each="secondhandGoodsDegreeParamList : ${secondhandGoodsDegreeParamList}"
											th:text="${secondhandGoodsDegreeParamList.name}"
											th:value="${secondhandGoodsDegreeParamList.value}"></option>
									</select>
									</div>
							</div>
						
					
						<div class="form-group">
									<label class="col-sm-2 control-label">*区域：</label> 
							<div class="col-sm-8">  
									<select style="width: 150px;" data-placeholder="" name="secondhandGoodsArea"  id="secondhandGoodsArea"
										class="form-control chosen-select" tabindex="2" required>
										<option th:each="secondhandGoodsAreaList : ${secondhandGoodsAreaList}"
											th:text="${secondhandGoodsAreaList.name}"
											th:value="${secondhandGoodsAreaList.value}"></option>
									</select>
									</div>
							</div>
							
														<div class="form-group">	
								<label class="col-sm-2 control-label">*电话：</label>
								<div class="col-sm-8">
									<input id="secondhandGoodsTel" name="secondhandGoodsTel" style="width: 400px;" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">*联系人：</label>
								<div class="col-sm-8">
									<input id="secondhandGoodsTelname" name="secondhandGoodsTelname" style="width: 400px;" class="form-control" type="text">
								</div>
							</div>
							
							
							<div class="form-group">
        						<div class="col-sm-2">&nbsp;</div>
         							<div class="col-sm-8" style="display:inline-block;">
          								<p>
           									<span>图片：</span> <input type="file" name="files" id="files"
            							multiple="multiple" />
         	 							</p >
          								<ul class="file-list">
          								</ul>
         						</div>
        					</div>
        				</div>
							
							
							<!--  
														<div class="form-group">	
								<label class="col-sm-2 control-label">状态：</label>
								<div class="col-sm-8">
									<input id="stateFlg" name="stateFlg" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">删除区分：</label>
								<div class="col-sm-8">
									<input id="delFlag" name="delFlag" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">创建人：</label>
								<div class="col-sm-8">
									<input id="createBy" name="createBy" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">创建时间：</label>
								<div class="col-sm-8">
									<input id="createDate" name="createDate" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">更改人：</label>
								<div class="col-sm-8">
									<input id="updateBy" name="updateBy" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">更改时间：</label>
								<div class="col-sm-8">
									<input id="updateDate" name="updateDate" class="form-control" type="text">
								</div>
							</div>
							-->
							
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/xzl/secondhandGoods/add.js">
	</script>
</body>
</html>
